encoding/json.Decoder.tokenState (field)
31 uses
encoding/json (current package)
stream.go#L23: tokenState int
stream.go#L307: switch dec.tokenState {
stream.go#L317: dec.tokenState = tokenArrayValue
stream.go#L327: dec.tokenState = tokenObjectValue
stream.go#L333: switch dec.tokenState {
stream.go#L341: switch dec.tokenState {
stream.go#L343: dec.tokenState = tokenArrayComma
stream.go#L345: dec.tokenState = tokenObjectComma
stream.go#L379: dec.tokenStack = append(dec.tokenStack, dec.tokenState)
stream.go#L380: dec.tokenState = tokenArrayStart
stream.go#L384: if dec.tokenState != tokenArrayStart && dec.tokenState != tokenArrayComma {
stream.go#L388: dec.tokenState = dec.tokenStack[len(dec.tokenStack)-1]
stream.go#L398: dec.tokenStack = append(dec.tokenStack, dec.tokenState)
stream.go#L399: dec.tokenState = tokenObjectStart
stream.go#L403: if dec.tokenState != tokenObjectStart && dec.tokenState != tokenObjectComma {
stream.go#L407: dec.tokenState = dec.tokenStack[len(dec.tokenStack)-1]
stream.go#L413: if dec.tokenState != tokenObjectColon {
stream.go#L417: dec.tokenState = tokenObjectValue
stream.go#L421: if dec.tokenState == tokenArrayComma {
stream.go#L423: dec.tokenState = tokenArrayValue
stream.go#L426: if dec.tokenState == tokenObjectComma {
stream.go#L428: dec.tokenState = tokenObjectKey
stream.go#L434: if dec.tokenState == tokenObjectStart || dec.tokenState == tokenObjectKey {
stream.go#L436: old := dec.tokenState
stream.go#L437: dec.tokenState = tokenTopValue
stream.go#L439: dec.tokenState = old
stream.go#L443: dec.tokenState = tokenObjectColon
stream.go#L463: switch dec.tokenState {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |